import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui'; 
import 'element-ui/lib/theme-chalk/index.css';
 
import MuseUI from 'muse-ui';
import 'muse-ui/dist/muse-ui.css';

//npm install animejs file:///E:/gitproject/1-flowerDemo/flowerDemo/flowerManager_vue/node_modules/animejs
// import animateIn from 'animejs';
// export default animateIn;

import router from './routers/router'; // 引入路由配置

//全局注册工具类
import deviceUtil from './util/device.all.js';

//引入icon图标类
import metraIcon from './assets/font/material-icons.css'

Vue.config.productionTip = false

// // 引入粒子背景的js
// import VueParticles from 'vue-particles'
// Vue.use(VueParticles)  
Vue.use(ElementUI);
Vue.use(MuseUI); 
// Vue.prototype.$animate = animateIn
Vue.prototype.$deviceUtil = deviceUtil

new Vue({
	// 这里是router，路由的命名，必须使用 router  才能被识别
  router, 
  render: h => h(App)
}).$mount('#app')